<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>IT服务信息平台   添加供应呼叫</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<script language="JavaScript" type="text/javascript" src="css/editor/wysiwyg.js"></script>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>
  
  <body>
  
  <div  style="margin: 0 auto;width: 800px;">
  <jsp:include page="header.jsp"></jsp:include>
  <div class="navigation" align="left"><table width="800px"><tr class="navigation"><td>你所在位置:<a href="gongxu/index.jsp">首页</a>><a href="gongxu/callAll.jsp">供需全部信息</a>>发布呼叫信息</td></tr></table></div>
  <div style="width: 100%;border-style: solid;border-width: 1px;background-color: #E6F0FF;margin-bottom: 5px;">
  <s:form action="gx_addCall" method="post" >
  <table>
  	<h2>发布呼叫</h2>
  	<s:hidden name="callInfo.userInfo.userInfoId" value="%{#session.userInfo.userInfoId}"></s:hidden>
  	<tr><td align="right">信息类型:</td><td align="left"><s:radio name="callInfo.callType" list="%{#{'0':'供应信息','1':'需求信息'}}" value="0"></s:radio></td></tr>
  	<tr>
  		<td align="right">呼叫类别:</td>
  		<td align="left">
  			<s:select name="callInfo.callSort.sortId" list="callSortList" listKey="sortId" listValue="callSortName"
  			headerKey="" headerValue="..请选择.."
  			 >
  			</s:select>
  		</td>
  	</tr>
  	<tr>
  		<td align="right">呼叫编号:</td>
  		<td align="left"><s:textfield name="callInfo.callNo"></s:textfield></td>
  	</tr>
  	<tr>
  		<td align="right">呼叫名称:</td>
  		<td align="left"><s:textfield  name="callInfo.callName"></s:textfield></td>
  	</tr>	        
  	<tr>
  		<td align="right">呼叫描述:</td>
  		<td align="left"><s:textarea name="callInfo.callDis"></s:textarea>
  		<script language="javascript1.2">
			 generate_wysiwyg('callInfo.callDis');
		</script>
  		</td>
  	</tr>
  	<tr>
  		<td align="right">到期时间:</td>
  		<td align="left">
  		<s:head theme="ajax"/>
	  	<s:datetimepicker name="callInfo.dueTime" value="today" toggleType="explode" disabled="true" 
		  	startDate="%{2008-7-8}"  displayWeeks="4">
		  	</s:datetimepicker>
	  	</td>
  	</tr>
  	<tr><td><s:submit value="添加"></s:submit></td><td></td></tr>
	</table>
  </s:form>
  
 </div>
 <jsp:include page="bottom.jsp"></jsp:include>
 </div>
  </body>
</html>
